package cn.kongwg.boot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author kongwg
 * @create 2021-03-14 21:49
 */
@Controller
public class TemplatesController {

    @GetMapping("/seccess")
    public String tem(Model model) {
        model.addAttribute("msg", "hello thymeleaf");
        model.addAttribute("link", "http://www.bsllx.cn");


        return "seccess";
    }
}
